package com.tiannianbao;

/**
 * 公共变量
 * @author 梁慕学
 */
public interface Envir {
    static String GLOBALVAR_appName = "tiannianbao";
    static String GLOBALVAR_siteAddr = "web.tnb99.net";
    static String GLOABAL_SYSTEMROOT = "";
    static String GLOABAL_SYSTEMROOT_ABS = "";
    static String GLOBALVAR_httpRoot = "http://" + GLOBALVAR_siteAddr;
    static String GLOBALVAR_socketRoot = "ws://" + GLOBALVAR_siteAddr + "/" + GLOBALVAR_appName + "/chatWebsocket";
    static String GLOBALVAR_rootUrl = GLOBALVAR_httpRoot + "/" + GLOBALVAR_appName;
    static String GLOBALVAR_imgRoot = GLOBALVAR_rootUrl + "/images/mobile";
    static String GLOBALVAR_rpcUrl = GLOBALVAR_rootUrl + "/business";
    static String GLOBALVAR_resourceUrl = GLOBALVAR_rootUrl + "/resource";
    static String GLOBALVAR_uploadPath = GLOBALVAR_rootUrl + "/upload";
    static String GLOBALVAR_uploadVoicePath = GLOBALVAR_uploadPath + "/lanResource/voiceResource/manual";
    static String GLOBALVAR_uploadMacVoicePath = GLOBALVAR_uploadPath + "/lanResource/voiceResource/machine";
    static String GLOBALVAR_uploadCombVoicePath = GLOBALVAR_uploadPath + "/lanResource/voiceResource/combine";
    static String GLOBALVAR_uploadImgPath = GLOBALVAR_uploadPath + "/topic/image";
    static String GLOBALVAR_uploadVoiceTopicPath = GLOBALVAR_uploadVoicePath + "/topic";
    static String GLOBALVAR_uploadImgTopicPath = GLOBALVAR_uploadImgPath + "/topic";
    static String GLOBALVAR_userAdioUrlPath = GLOBALVAR_uploadPath + "/userAudio";
    static String GLOBALVAR_storeRoot = "tnbRes";
    static String GLOBALVAR_storeResourceRoot = "tnbResource";
    static String GLOBALVAR_storeAppResource = GLOBALVAR_storeRoot + "/" + GLOBALVAR_storeResourceRoot;
    static String GLOBALVAR_storeResourceRealRoot= "resource";
    static String GLOBALVAR_storeResource = GLOBALVAR_storeRoot + "/" + GLOBALVAR_storeResourceRealRoot;
    static String GLOBALVAR_tempResource = GLOBALVAR_storeRoot + "/tempResource";
    static String GLOBALVAR_storeAudioFilePath = GLOBALVAR_storeRoot + "/audioChat";
    static String GLOBALVAR_storeTempResFilePath = GLOBALVAR_storeRoot + "/tempResource";
    static String GLOBALVAR_storeAudioTypePersonal = "personal";
    static String GLOBALVAR_storeAudioTypeTopic = "topic";
    static String GLOBALVAR_storeResVoicePath = GLOBALVAR_storeResource + "/voice";
    static String GLOBALVAR_storeResImgPath = GLOBALVAR_storeResource + "/image";
    static String GLOBALVAR_topicVoicePath = GLOBALVAR_storeResVoicePath + "/topic";
    static String GLOBALVAR_topicImagePath = GLOBALVAR_storeResImgPath + "/topic";
    static String GLOBALVAR_storeChatAudioFilePath = GLOBALVAR_storeAudioFilePath + "/" + GLOBALVAR_storeAudioTypePersonal;
    static String GLOBALVAR_storeTopicAudioFilePath = GLOBALVAR_storeAudioFilePath + "/" + GLOBALVAR_storeAudioTypeTopic;
    static String GLOBALVAR_topicImgFilePath =  "upload/topic/image";
    static String GLOBALVAR_userInfo = GLOBALVAR_uploadPath + "/Myinfo";
    static String GLOBALVAR_storeTopicImagePath = GLOBALVAR_storeResource + "/" + GLOBALVAR_topicImgFilePath;
    static String GLOBALVAR_userInfoPath = GLOBALVAR_storeResource + "/Myinfo";
    static String GLOBALVAR_noticeTag = "pushNoticeTag";

}
